package com.uzhie.web.dao;

import com.uzhie.web.module.BaseData;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 字典数据维护
 * Created by lilongfei on 2018/7/18.
 */
public interface BaseDataDAO extends Mapper<BaseData> {

    /**
     * 通过字典类型和状态,查询所有字典值
     * create by lilongfei
     * @param type
     * @param status
     * @return
     */
    List<BaseData> queryListByCondition(@Param("type") String type, @Param("status") int status, RowBounds rowBounds);


}
